/*******************************************************************************
 * Copyright (c) 2010, 2030 www.itlaobing.cn
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 *******************************************************************************/
package cn.itlaobing.entity;

import java.io.Serializable;
import java.util.Date;

/** 
 * ClassName: GoodsEntity <br/> 
 * Function: 订单实体类 <br/> 
 * date: 2017年11月1日 下午3:15:32 <br/> 
 * 
 * @author 王博 
 * @version  
 * @since JDK 1.8 
 */
public class GoodsEntity implements Serializable {
	private Integer id;
	private String orderNumber;
	private Date placeOrder;
	private Integer userId;
	private Float amout;
	private Integer statusId;
	private Integer sourceId;
	private String consignee;
	private String consigneePhone;
	private String consigneeAddress;
	/**
	 * 
	 */
	public GoodsEntity() {
	}
	/**
	 * @param id
	 * @param orderNumber
	 * @param placeOrder
	 * @param userId
	 * @param amout
	 * @param statusId
	 * @param sourceId
	 * @param consignee
	 * @param consigneePhone
	 * @param consigneeAddress
	 */
	public GoodsEntity(Integer id, String orderNumber, Date placeOrder, Integer userId, Float amout, Integer statusId,
			Integer sourceId, String consignee, String consigneePhone, String consigneeAddress) {
		super();
		this.id = id;
		this.orderNumber = orderNumber;
		this.placeOrder = placeOrder;
		this.userId = userId;
		this.amout = amout;
		this.statusId = statusId;
		this.sourceId = sourceId;
		this.consignee = consignee;
		this.consigneePhone = consigneePhone;
		this.consigneeAddress = consigneeAddress;
	}
	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * @return the orderNumber
	 */
	public String getOrderNumber() {
		return orderNumber;
	}
	/**
	 * @param orderNumber the orderNumber to set
	 */
	public void setOrderNumber(String orderNumber) {
		this.orderNumber = orderNumber;
	}
	/**
	 * @return the placeOrder
	 */
	public Date getPlaceOrder() {
		return placeOrder;
	}
	/**
	 * @param placeOrder the placeOrder to set
	 */
	public void setPlaceOrder(Date placeOrder) {
		this.placeOrder = placeOrder;
	}
	/**
	 * @return the userId
	 */
	public Integer getUserId() {
		return userId;
	}
	/**
	 * @param userId the userId to set
	 */
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	/**
	 * @return the amout
	 */
	public Float getAmout() {
		return amout;
	}
	/**
	 * @param amout the amout to set
	 */
	public void setAmout(Float amout) {
		this.amout = amout;
	}
	/**
	 * @return the statusId
	 */
	public Integer getStatusId() {
		return statusId;
	}
	/**
	 * @param statusId the statusId to set
	 */
	public void setStatusId(Integer statusId) {
		this.statusId = statusId;
	}
	/**
	 * @return the sourceId
	 */
	public Integer getSourceId() {
		return sourceId;
	}
	/**
	 * @param sourceId the sourceId to set
	 */
	public void setSourceId(Integer sourceId) {
		this.sourceId = sourceId;
	}
	/**
	 * @return the consignee
	 */
	public String getConsignee() {
		return consignee;
	}
	/**
	 * @param consignee the consignee to set
	 */
	public void setConsignee(String consignee) {
		this.consignee = consignee;
	}
	/**
	 * @return the consigneePhone
	 */
	public String getConsigneePhone() {
		return consigneePhone;
	}
	/**
	 * @param consigneePhone the consigneePhone to set
	 */
	public void setConsigneePhone(String consigneePhone) {
		this.consigneePhone = consigneePhone;
	}
	/**
	 * @return the consigneeAddress
	 */
	public String getConsigneeAddress() {
		return consigneeAddress;
	}
	/**
	 * @param consigneeAddress the consigneeAddress to set
	 */
	public void setConsigneeAddress(String consigneeAddress) {
		this.consigneeAddress = consigneeAddress;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "GoodsEntity [id=" + id + ", orderNumber=" + orderNumber + ", placeOrder=" + placeOrder + ", userId="
				+ userId + ", amout=" + amout + ", statusId=" + statusId + ", sourceId=" + sourceId + ", consignee="
				+ consignee + ", consigneePhone=" + consigneePhone + ", consigneeAddress=" + consigneeAddress + "]";
	}
	
}
